<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:blogChannel="http://backend.userland.com/blogChannelModule"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>{'meta.title'|config}</title>
		<link>http://{'host'|config}/</link>
		<description></description>
		<language>ru</language>
		
		<copyright>Copyright 2008—{'Y'|@date} {'meta.author'|config}</copyright>
		<lastBuildDate>{assign value=$now-3600 var=now}{'r'|@date:$now}</lastBuildDate>
		
		<atom:link href="http://{'host'|config}/rss.xml" rel="self" type="application/rss+xml" />
		<generator>qfox rss generator v2.0.1</generator>
{*		<managingEditor>kkkkseeq@ya.ru (Olesya Poltavets)</managingEditor>*}
		<webMaster>qfox@ya.ru (Alex Yaroshevich)</webMaster>
		<ttl>1440</ttl>
{*{$list|@var_dump}*}
{foreach from=$list item=i}
		<item>
			<title>{$i.title|replace:'&laquo;':''|replace:'&raquo;':''}</title>
			{capture assign="location"}{if $i.loc}{$i.loc}{else}/news/{$i.id}/{/if}{/capture}
			<link>http://{'host'|config}{$location}</link>
			<description>{$i.short|escape}</description>
			<pubDate>{assign var=date value=$i.date|@strtotime}{'r'|@date:$date}</pubDate>
			<guid>http://{'host'|config}{$location}</guid>
		</item>
{/foreach}
	</channel>
</rss>